import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false

import router from './router.js'
import ECharts from 'vue-echarts'
import 'echarts/lib/chart/bar'

Vue.use(ElementUI);

// 全局注册vue-echart组件
Vue.component('v-chart',ECharts)



new Vue({
  render: h => h(App),
  router
}).$mount('#app')
